t.test
{stats}
Performs one and two sample t-tests on vectors of data.
setwd
{base}
Set Working Directory
order
{base}
Get indexes that will sort a vector
factor
{base}
Create a factor
plot
{graphics}
Generic function from base R to produce a plot
as.factor
{base}
Coerce a vector to factor
round
{base}
Rounds numbers
boxplot
{graphics}
Plot a simple box plot
cor.test
{stats}
Test for Association/Correlation Between Paired Samples
class
{base}
Retrieve class of an R object
hist
{graphics}
Plot a simple histogram
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
tabulate
{base}
Counts the number of times each integer occurs in an integer-only vector
mean
{base}
Get mean of a vector
which.max
{base}
return index of the largest value in a vector
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
geom_histogram
{GGPLOT2}
Generates a histogram
ggplot
{GGPLOT2}
Create a ggplot graph
as.numeric
{base}
Coerce a vector to numeric
attach
{base}
Attach Set of R Objects to Search Path
unique
{base}
get unique elements
ylab
{GGPLOT2}
Label the y axis (ggplot)
seq
{base}
Create a sequence
read.spss
{foreign}
Read a .sav file (SPSS data)
prop.table
{base}
Transform frequency table into table of proportions
lprop
{questionr}
Display row percentages of a two-way frequency table
c
{base}
Combine values/vectors into a vector
with
{base}
evaluate expression in the context of a data frame
addmargins
{stats}
Puts Arbitrary Margins on Multidimensional Tables or Arrays
str
{utils}
Get the structure of an R object
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
chisq.test
{stats}
Chi-Squared test (e.g. for cross-tabulations)
xlab
{GGPLOT2}
Label the x axis (ggplot)
library
{base}
Load an R package
tapply
{base}
Create statistical summaries by group based on the levels of one or several factors
sd
{stats}
Get standard deviation of a vector
get_mode
{rstatix}
Compute the mode in a given vector.
par
{graphics}
Set parameters of the plotting device
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
barplot
{graphics}
Plot a simple bar plot
which
{base}
return indexes of TRUE entries of a logical vector
cor
{stats}
Calculate Correlation Matrix
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
The end!